# scripts/resources/PlayerStatUpgrade.gd
class_name PlayerStatUpgrade
extends Resource

## e.g., "max_health", "move_speed", "pickup_range", "health_regen", "armor", "crit_chance", "xp_gain"
@export var stat_name: String = ""
## Can be absolute or percentage based on stat_name logic
@export var value_change: float = 0.0
@export_multiline var description: String = ""
## Higher = rarer (or use an enum: @export var rarity: Rarity = Rarity.COMMON)
@export var rarity: int = 1
@export var icon: Texture2D = null